package com.kingdee.eas.jftz.safe.emergency;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class SafeDangerCollection extends AbstractObjectCollection 
{
    public SafeDangerCollection()
    {
        super(SafeDangerInfo.class);
    }
    public boolean add(SafeDangerInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(SafeDangerCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(SafeDangerInfo item)
    {
        return removeObject(item);
    }
    public SafeDangerInfo get(int index)
    {
        return(SafeDangerInfo)getObject(index);
    }
    public SafeDangerInfo get(Object key)
    {
        return(SafeDangerInfo)getObject(key);
    }
    public void set(int index, SafeDangerInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(SafeDangerInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(SafeDangerInfo item)
    {
        return super.indexOf(item);
    }
}